package com.fanghuaiming.config.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/****
 * @description:
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/11/25 下午4:57
 *
 */
@Component
@Data
@ConfigurationProperties(prefix = "spring.datasource.atomikos1")
public class XaOrderDataSource {

    private String type;

    private String driverClassName;

    private String jdbcUrl;

    private String username;

    private String password;

    private int initialSize;

    private int minIdle;

    private int maxActive;

}
